package com.auto.sns.core.dao;

import java.util.List;
import java.util.Map;

import com.system.common.Page;
import com.auto.sns.core.domain.SnsCoreTopic;
/**
 * : t_auto_sns_core_topic
 * 
 * 
 * @author Gen
 */
public interface ISnsCoreTopicDAO{
	/**
	 * @param bean
	 * @return
	 */
	SnsCoreTopic insertSnsCoreTopic(SnsCoreTopic bean);
	/**
	 * @param sctoGuid
	 * @return
	 */
	boolean deleteSnsCoreTopic(String sctoGuid);	
	/**
	 * @param bean
	 * @return
	 */
	SnsCoreTopic updateSnsCoreTopic(SnsCoreTopic bean);	
	/**
	 * @param sctoGuid
	 * @return
	 */
	SnsCoreTopic loadSnsCoreTopic(String sctoGuid);
	/**
	 * @param param
	 * @param page
	 * @return
	 */
	List<SnsCoreTopic> queryList(Map<String,Object> param,Page page);
	
	boolean updateReplyNum(String sctoGuid);
	
	boolean updateRecommendNum(String sctoGuid);
	
	boolean updateFavoriteNum(String sctoGuid);

}
